#pragma once

#include "forms\skinbasewidget.h"

class KAssistantBar : public SkinBaseWidget
{
	Q_OBJECT

public:
	KAssistantBar(QWidget *parent = 0);

	
protected:	
	virtual bool winEvent(MSG *message, long *result);
	virtual bool event(QEvent *e);
	void leaveEffect();
	void enterEffect();

private:
	void setupUI();

private slots:
	void effectTimeEvent();

private:
	QString title;
	qreal windowOpacity;
	qreal maxOpcaity;
	qreal minOpcaity;
	bool isMouseEnter;
	QTimer* effectTimer;
};